package com.yyh.entity;

import java.time.LocalDate;

import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author yangyueheng
 * @since 2020-06-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Follow对象", description="")
public class Follow implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "追踪表id")
    private Integer followId;

    @ApiModelProperty(value = "学生id")
    private Integer studentId;

    @ApiModelProperty(value = "追踪时间")
    private LocalDate followTime;

    @ApiModelProperty(value = "追踪方式")
    private String followFs;

    @ApiModelProperty(value = "下次追踪时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate nextFollowTime;

    @ApiModelProperty(value = "内容(备注)")
    private String content;
    
    private String stuName;


}
